package gptma.fo.controler.project;

import gptma.bo.model.project.Project;
import gptma.bo.services.project.ProjectServices;
import gptma.fo.cdi.ViewScoped;
import gptma.fo.controler.ResultPage;
import java.io.Serializable;
import javax.ejb.EJB;
import javax.inject.Named;

/**
 * 
 * @author xcl
 */
@Named
@ViewScoped
public class ProjectListPage extends ResultPage<Project> implements
		Serializable {

	private static final long serialVersionUID = -7978311932793250789L;

	@EJB
	private ProjectServices projectServices;

	public void initializeListPage() {
		results = projectServices.findAll();
	}

}
